<%-- 
    Document   : studentEdit
    Created on : Dec 15, 2011, 6:34:57 AM
    Author     : Eduardo
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="/VirtualBook/css/style.css" rel="stylesheet" type="text/css" media="screen" />
        <title>Editar Estudiante</title>
        
        <style type="text/css">
            .welcome {
                    background-color:#DDFFDD;
                    font-size:medium;
                    width:200px;
            }
            .welcome li{
                    list-style: none;
            }
        </style>
  
    </head>
    <body>
        <div id="header">
	<!-- end #menu -->
</div>
<!-- end #header -->
<!-- end #header-wrapper -->
<div id="logo">
	<h1><a>Virtual</a></h1>
	<p><em>Book</em></p>
</div>
<hr />
<!-- end #logo -->
<div id="page">
	<div id="content">
		<div id="content-bgtop">
                    
                    <div id="content-bgbtm">
                    
                    </div>
		</div>
	
            <s:if test="hasActionMessages()">
            <div class="welcome">
                <s:actionmessage/>
                <a href="listRgstrStudentMgmt.action">Regresar a la Lista</a>
            </div>
        </s:if>
        <s:form action="completeUserDetails">
            <s:textfield label="Nombre" name="student.firstName" value="%{student.firstName}"/>
            <s:textfield label="Apellido" name="student.lastName" value="%{student.lastName}"/>
            <s:textfield label="Matricula" name="student.enrollment" value="%{student.enrollment}"/>
            <s:textfield label="Usuario" name="student.user.username" value="%{student.user.username}"/>
            <s:password label="Password" name="student.user.password" value="%{student.user.password}"/>
            <s:hidden name="student.user.iduser"/>
            <s:submit key="Actualizar"/>
	</s:form>
        </div>
	<!-- end #content -->
	<div style="clear: both;">&nbsp;</div>
	<!-- end #page -->
	<div id="footer">

	</div>
	<!-- end #footer -->
</div>
    </body>
</html>
